<div ng-controller="goodsListCtrl">
  <div class="col-xs-12 col-md-10">
      <div class="well with-header with-footer">
          <div class="header bg-darkorange">
              进/销清单
          </div>
          <table class="table table-hover table-striped table-bordered">
              <thead class="bordered-blueberry">
                  <tr>
                      <th>序号</th>
                      <th>货物或应税劳务、服务名称</th>
                      <th>规格型号</th>
                      <th>单位</th>
                      <th>数量</th>
                      <th>单价</th>
                      <th>金额</th>
                      <th>税率</th>
                      <th>税额</th>
                  </tr>
              </thead>
              <tbody>
                <tr ng-repeat="good in goods">
                  <td>{{$index+1}}</td>
                  <td>{{good.commodityName}}</td>
                  <td>{{good.commodityType}}</td>
                  <td >{{good.unit}}</td>
                  <td>{{good.commodityAmount}}</td>
                  <td>{{good.price}}</td>
                  <td>{{good.allPrice}}</td>
                  <td>{{good.taxRate}}</td>
                  <td>{{good.vatMoney}}</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <td colspan="2">
                    合计
                  </td>
                  <td></td><td></td><td></td><td></td>
                  <td>
                    {{vat.price}}
                  </td>
                  <td></td>
                  <td>
                    {{vat.vatMoney}}
                  </td>
                </tr>
                <tr>
                  <td colspan="2">价税合计</td>
                  <td colspan="7" style="text-align:right">{{vat.allPrice}}</td>
                </tr>
              </tfoot>
          </table>
      </div>
  </div>
</div>
